/**
  ETFAna project, Anyang Normal University && IMP-CAS

  \class ETFRawChannel
  \brief abstract base class for a general raw data channel
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2021-09-27
  \date 2021-12-07 last modified
  \attention
  changelog
  <table>
  <tr>  <th>Date        <th>Author      <th>Description                    </tr>
  <tr>  <td>2021-09-27  <td>Asia Sun    <td>file created                   </tr>
  </table>

  \copyright Copyright (c) 2021-2024 Anyang Normal U. && IMP-CAS with LGPLv3 LICENSE
*/

#include "ETFRawChannel.h"

// double ETFRawChannel::rand0_1(){ return double(rand())/RAND_MAX; }
double ETFRawChannel::rand0_1(){ return 0.; }

ETFRawChannel::ETFRawChannel() : TObject(), fChannelId(-1), fIsPXI(true), fIsT(true){}

ETFRawChannel::ETFRawChannel(const ETFRawChannel &ch) : TObject(ch),
  fChannelId(ch.fChannelId){}

ETFRawChannel::~ETFRawChannel(){}

void ETFRawChannel::Reset(){
  // fChannelId = -1;
  // fIsPXI = true;
  // fIsT = true;
} // end member function Initialize
